package com.example.idemfactor.sdk.exception;


public class IdemfactorException extends RuntimeException {

    // 返回消息
    private String msg;

    // 错误码
    private Integer code;

    public IdemfactorException(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
